From: Jonas Dreßler Date: Fri, 7 Feb 2020 09:10:58 +0000 (+0100) Subject: blur-effect: Don't paint background using actor opacity X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~777^2^2~96 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f6fa08fa7553ef232e9b8134d38cd9cc1589e4d8;p=gnome-shell.git blur-effect: Don't paint background using actor opacity The background should always be painted fully opaque, the opacity of the actor does not change the one of the background. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/991 --- diff --git a/src/shell-blur-effect.c b/src/shell-blur-effect.c index 002232746..881592027 100644 --- a/src/shell-blur-effect.c +++ b/src/shell-blur-effect.c @@ -657,16 +657,8 @@ paint_background (ShellBlurEffect *self, CoglFramebuffer *framebuffer; float transformed_x = 0.f; float transformed_y = 0.f; - guint8 paint_opacity; framebuffer = clutter_paint_context_get_framebuffer (paint_context); - paint_opacity = clutter_actor_get_paint_opacity (self->actor); - - cogl_pipeline_set_color4ub (self->background_fb.pipeline, - paint_opacity, - paint_opacity, - paint_opacity, - paint_opacity); clutter_actor_get_transformed_position (self->actor, &transformed_x,